home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Texteditors / Origami / Sources / src / Amiga / smakefiles / ori_smakefile < prev    next >
Encoding:
Makefile  |  1996-09-27  |  2.0 KB  |  78 lines

  1. #Makefile for the amiga port of origami
  2. # SAS/C 6.50
  3. #Version 1.6.92.1
  4. #
  5. SC=             sc
  6. SLINK=          slink
  7. #
  8. #FLAGS1 : compiler options for compiler behaviour
  9. FLAGS1=         ANSI NOICONS STRCON WARNVOIDRETURN IGNORE=104
  10. #
  11. #FLAGS2 : include options
  12. FLAGS2=         IDIR=origami:
  13. #
  14. #FLAGS3 : define options
  15. FLAGS3=         DEF=BIG DEF=ORIGAMI DEF=REGEXP DEF=AMIGA DEF=AREXX DEF=NO_MAIL
  16. #
  17. #FLAGS4 : additional options
  18. FLAGS4=         OPTIMIZE OptComp=0 OptInl OptInlocal Opttime optsched
  19. #FLAGS4=         PROFILE
  20. #
  21. #DEBUG_FLAGS : define DEBUG for DEGUB usage
  22. #DEBUG_FLAGS=    DEBUG=symbolflush
  23. #DEB_LD_FLAGS=   ADDSYM
  24. #
  25. #FLAGS5 : link options for linker behaviour
  26. FLAGS5=         BATCH
  27. #
  28. #FLAGS6 : library includes
  29. FLAGS6=         LIB LIB:sc.lib LIB LIB:amiga.lib LIB /lib/orilib.lib
  30. #FLAGS7 : linker defines
  31. FLAGS7=
  32.  
  33. SCFLAGS=        ResOpt $(FLAGS1) $(FLAGS2) $(FLAGS3) $(FLAGS4) $(DEBUG_FLAGS)
  34. LDFLAGS=        $(FLAGS5) $(FLAGS6) $(FLAGS7) $(DEB_LD_FLAGS)
  35.  
  36. .c.o:
  37.                 $(SC) $(SCFLAGS) $*
  38.  
  39. OBJS=           buffloop.o display.o fieldedit.o filec.o finds.o \
  40.                 foldfiling.o foldhelp.o folding.o getmsg.o gettoken.o init.o \
  41.                 keytab.o loop.o main.o messages.o misc.o oriedt.o \
  42.                 prompts.o readfolds.o set.o string.o \
  43.                 virtual.o writefolds.o \
  44.                 /amiga/src/keyboard.o \
  45.                 /amiga/src/amigamisc.o /amiga/src/screen.o \
  46.                 /amiga/src/shell.o /amiga/src/signals.o /amiga/src/initreset.o \
  47.                 scrbuff.o
  48.  
  49. #{{{}}}
  50. #{{{  -> all
  51. all:            origami
  52. #}}}
  53.  
  54. #{{{  origami
  55. origami:        $(OBJS)
  56.                 $(slink) <WITH <
  57.                 from lib:cback.o+
  58.                 $(OBJS)
  59.                 to origami $(LDFLAGS)
  60.                 <
  61. #}}}
  62.  
  63. #{{{  -> install
  64. install:
  65.                 copy origami //bin
  66.                 copy /h/.origamimsg //bin
  67. #}}}
  68.  
  69. #{{{  -> reset
  70. reset:          clean
  71.                 -delete origami smakefile
  72. #}}}
  73.  
  74. #{{{  -> clean
  75. clean:
  76.                 -delete \#?.o \#?.lnk \#?.tmp \#?.info
  77. #}}}
  78.